import type { AppRouteModule } from '/@/router/types'

import { LAYOUT } from '/@/router/constant'

const content: AppRouteModule = {
    path: '/content',
    name: 'Content',
    component: LAYOUT,
    redirect: '/content/video',
    meta: {
        icon: 'noto:bookmark-tabs',
        title: '内容管理',
    },
    children: [
        {
            path: 'video',
            name: 'VideoList',
            component: () => import('/@/views/content/video/list.vue'),
            meta: {
                title: '视频列表',
                icon: 'noto:house',
            },
        },
        {
            path: 'article',
            name: 'Article',
            component: () => import('/@/views/content/article/list.vue'),
            meta: {
                title: '文章列表',
                icon: 'noto:busts-in-silhouette',
            },
        },
        {
            path: 'audieo',
            name: 'Audieo',
            component: () => import('/@/views/content/audieo/list.vue'),
            meta: {
                title: '音频列表',
                icon: 'noto:card-index-dividers',
            },
        },
    ],
}

export default content
